package org.lemon.transport.mqtt.server.adaptors;

public class MqttTransportAdaptorFactory {

    private static final MqttTransportAdaptor JSON_MQTT_ADAPTOR = new JsonMqttAdaptor();
    private static final MqttTransportAdaptor PROTO_MQTT_ADAPTOR = new ProtoMqttAdaptor();

    public static MqttTransportAdaptor getJsonMqttAdaptor() {
        return JSON_MQTT_ADAPTOR;
    }

    public static MqttTransportAdaptor getProtoMqttAdaptor() {
        return PROTO_MQTT_ADAPTOR;
    }

}
